Search results
12 packages found
A functional and declarative alternative to JavaScript's native switch statement.
javascript implementation of match statement
Regular expression for matching javascript require/import statements.
Regular expression for matching javascript require statements.
- dependencies
- dependency
- devDependencies
- devDependency
- exec
- expression
- expressions
- find
- match
- matcher
- matches
- matching
- module
- modules
- View more
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
No dependency pattern matching library, able to work with numbers, arrays, strings, Dates or objects
- match
- matchto
- object
- string
- Date
- array
- pattern
- matching
- matches
- patterns
- pattern matching
- match statement
- compare
- comparison
- View more
Utility for mapping values to other values or behaviour, a bit like a match statement
A functional switch to replace switch statements
Babel plugin to replace extension of file name written in import statement and dynamic import.
- schema
- includes
- ECMAScript 2020
- rgb
- expression
- mixins
- jest
- ascii
- description
- core
- parents
- rapid
- walk
- getPrototypeOf
- View more
Find and remove unused es6 module imports. It works by splitting up the `no-unused-vars` rule depending on it being an import statement in the AST and providing an autofix rule to remove the nodes if they are imports. This plugin composes the rule `no-unu
- less
- real-time
- core-js
- private data
- ES5
- mime-db
- sham
- safe
- persistent
- parser
- full-width
- typeerror
- react pose
- weakset
- View more
A advance tool to replace text/string within multiple files. Supports Nested Replacement, Statement Replacement, Pattern Replacement and More.
- grunt replacex
- grunt replace
- grunt string replace
- applause string replace
- statement replacement
- pattern replacement
- nested replacement
- include/require statement replacement
- multiple file replace
- grunt-replacex
- grunt-replace
- replace text and strings with grunt
- file content replace with another file
- Advanced string replacement
- View more
Match require statements in a glob of files. Returns an an object files, each with an array of objects describing each require statement found. Each require statement object has a line number, variable name, and module name. Statements in code comments ar